Skip to content

Conversation

lourens-octopus
Copy link
Contributor

@lourens-octopus lourens-octopus commented Oct 17, 2025

[sc-124381]

Add automatic deployments to the ephemeral environments page

@lourens-octopus lourens-octopus requested a review from a team October 17, 2025 00:54
@lourens-octopus lourens-octopus force-pushed the lourens/add-automatic-deployments-to-ee branch from a9420bc to 34504bd Compare October 17, 2025 01:08
Copy link

@neil-e-octopus neil-e-octopus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lourens-octopus is there a way to see changes in a branch? I'd like to take a look and run it through the guidelines.

Copy link
Contributor

@geofflamrock geofflamrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The structural changes look good to introduce the separation between auto deployments and not. I've left a few thoughts around some of the copy and how we look to make it more consistent with the product and hopefully a bit clearer in some parts.


### Manually

If manual deployments is selected, ephemeral environments can be created manually from the Ephemeral Environments page within the project.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Portal we don't call this "manual deployment" (at least as a heading/radio button), we say "Don't automatically deploy...", we should be consistent with the way we describe the various concepts here. Happy to workshop the copy and titles here to find the right way to describe if that would be helpful.

Copy link
Contributor Author

@lourens-octopus lourens-octopus Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

- Select **Add Ephemeral Environment** from the Ephemeral Environments page.
- Enter a name for the environment.

The environment will now be created in the Not Provisioned state, ready to be provisioned and deployed to. Provisioning will be performed automatically by the configured runbook when the environment is deployed to.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight tweak to mention the release being deployed here:

Suggested change
The environment will now be created in the Not Provisioned state, ready to be provisioned and deployed to. Provisioning will be performed automatically by the configured runbook when the environment is deployed to.
The environment will now be created in the Not Provisioned state, ready for a release to be deployed to it. Provisioning will be performed automatically by the configured runbook when a release is deployed to the environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

To update an existing ephemeral environment, create another release that results in the same environment name based on the template. The release will be automatically deployed into the environment.
### Automatic Deployments

Create another release that results in the same environment name based on the environment name template.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's implied that we'll automatically deploy the release, but prob still good to include the explicit text I think to make it super clear what will happen.

Suggested change
Create another release that results in the same environment name based on the environment name template.
Create another release that results in the same environment name based on the environment name template. The release will be automatically deployed into the environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


### Automatic deprovisioning of environments

Ephemeral environments can be automatically deprovisioned if they are inactive after after a configurable time period. Deploying a release to an environment or running a runbook against an environment marks the environment as still being active.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, good pickup, thanks!

Copy link

@neil-e-octopus neil-e-octopus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy changes added as line comments


### Manual Deployments

Create a new release and select the environment to deploy to.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something like:

Create another release and if the environment name template resolves to the same name, Octopus reuses that environment and deploys the new release to it. @geofflamrock @lourens-octopus


### Manual Deployments

Create a new release and select the environment to deploy to.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something like:
Create a new release, then deploy it and select the existing environment in the Deploy to step.
Octopus deploys the release to that environment without creating a new one. @geofflamrock @lourens-octopus

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link

@neil-e-octopus neil-e-octopus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants